#ifndef DATABASE_MANAGER_H
#define DATABASE_MANAGER_H

#include "mysql_connection_pool.h"
#include <memory>
#include <string>

class DatabaseManager {
public:
    explicit DatabaseManager();
    ~DatabaseManager();
    
    bool execute(const std::string& sql);
    bool executeQuery(const std::string& sql);
    char* getField(const std::string& fieldName);
    
private:
    std::shared_ptr<MySQLConnection> connection;
};

#endif // DATABASE_MANAGER_H